UCF STIG Viewer Logo

The DHCP client must be disabled if not needed.


Overview

Finding ID Version Rule ID IA Controls Severity
RHEL-06-000292 RHEL-06-000292 RHEL-06-000292_rule Low
Description
DHCP relies on trusting the local network. If the local network is not trusted, then it should not be used. However, the automatic configuration provided by DHCP is commonly used and the alternative, manual configuration, presents an unacceptable burden in many circumstances.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-02-05

Details

Check Text ( C-RHEL-06-000292_chk )
To verify that DHCP is not being used, examine the following file for each interface.

# /etc/sysconfig/network-scripts/ifcfg-[IFACE]

Look for the following.

BOOTPROTO=static

and the following, substituting the appropriate values based on your site's addressing scheme.

NETMASK=255.255.255.0
IPADDR=192.168.1.2
GATEWAY=192.168.1.1


If it does not, this is a finding.
Fix Text (F-RHEL-06-000292_fix)
For each interface [IFACE] on the system (e.g. eth0), edit "/etc/sysconfig/network-scripts/ifcfg-[IFACE]" and make the following changes.

Correct the BOOTPROTO line to read.

BOOTPROTO=static


Add or correct the following lines, substituting the appropriate values based on your site's addressing scheme.

NETMASK=255.255.255.0
IPADDR=192.168.1.2
GATEWAY=192.168.1.1